The setQuatity method sets order's quantity of how many shares to buy or sell.
setQuantity(quantity);
quantity
Floating value representing quantity of shares for the order.
See placeOrder() in Account class for an example on how to use setQuantity() method.
Copyright © 2006-2009 ActiveTick LLC